package com.qf.xiaomi.dao;

import com.qf.xiaomi.pojo.Goods;

import java.util.List;

/**
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public interface GoodsDao {
    long getTotalCount(int typeId);

    List<Goods> getData(int typeId, int startIndex, int pageSize);

    Goods findById(int id);
}
